package com.forum.domain;

/**
 * Ucg entity. @author MyEclipse Persistence Tools
 */

public class Ucg implements java.io.Serializable {

	// Fields

	private Integer id;
	private Groups groups;
	private User user;

	// Constructors

	/** default constructor */
	public Ucg() {
	}

	/** full constructor */
	public Ucg(Groups groups, User user) {
		this.groups = groups;
		this.user = user;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Groups getGroups() {
		return this.groups;
	}

	public void setGroups(Groups groups) {
		this.groups = groups;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

}